You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxInt Class > TMtxInt Methods > TMtxInt.Concat Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxInt.Concat Method

Concatenate an array of matrices to single matrix.

Syntax
C#
Visual Basic
public TMtxInt Concat(int aRows, int aCols, [In] TMtxInt[] Src);

Concatenate an array of matrices to form one big matrix and store the result in the calling matrix. The dimensions of the block matrices in the Src array must match, to form the new matrix. The block matrices must have matching integer precision or an exception will be raised. You must specify Arows*ACols block matrices in the Src array. The Rows, Cols and IntPrecision properties of the calling matrix are adjusted automatically.

var A,B,C,D,E: TMtxInt; begin CreateIt(A,B,C,D); CreateIt(E); try A.Size(2,2); B.Size(A); C.Size(A); D.Size(A); E.Concat(2,2[A,B C,D]); // form one 4x4 matrix finally FreeIt(E); FreeIt(A,B,C,D); end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!